# The join orders:
# $1: (NOT used), the file identifier
# $2: numOfOriginalTOP10DocumentResultRetainedAtTOP10Position
# $3: numOfOriginalTOP10PostingRetainedAtTOP10Position
# $4: top10DocumentResultDict
# $5: top10PostingWithDocumentResultDict
# $6: totalEvaluationCostFromPrunedIndexModel1
# $7: totalEvaluationCostFromPrunedIndexModel2
# $8: totalEvaluationCostFromFullIndexModel1
# $9: totalEvaluationCostFromFullIndexModel2
# $10: numOfOriginalTOP10PostingsRetainedInPrunedIndex
# $11: percentage identifier

echo "Computed by Wei on 2014/07/09"
echo "format of each data line:"
echo "col1: % index kept"
echo "col2: # of unpruned TOP10 document results retained@10 pruned index"
echo "col3: # of unpruned TOP10 postings retained@10 pruned index"
echo "col4: # of unpruned TOP10 postings retained in pruned index"
echo "col5: total # of TOP10 document results in unpruned index(fixed)"
echo "col6: total # of TOP10 postings in unpruned index(fixed)"
echo "col7: query processing cost in pruned index"
echo "col8: total query processing cost in unpruned index(fixed)"
echo "col9: % of unpruned TOP10 document results retained@10"
echo "col10: % of unpruned TOP10 postings retained@10"
echo "col11: % of unpruned TOP10 postings retained in pruned index"
echo "col12: % of query processing cost"

echo "********************************************************************************"
echo "dataset=gov2 pt=unigramProbabilityModelFromJuan dynamicWeight=0 queryLength=ALL numOfQueries=5000"
awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=gov2 pt=unigramProbabilityModelFromJuan dynamicWeight=0 queryLength=1 numOfQueries=100"
awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_0_ptChangedFromJuan_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=gov2 pt=unigramProbabilityModelFromJuan dynamicWeight=0 queryLength=2 numOfQueries=783"
awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_0_ptChangedFromJuan_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
echo
echo "dataset=gov2 pt=unigramProbabilityModelFromJuan dynamicWeight=0 queryLength=3 numOfQueries=1204"
awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_0_ptChangedFromJuan_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=gov2 pt=unigramProbabilityModelFromJuan dynamicWeight=0 queryLength=4 numOfQueries=1205"
awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_0_ptChangedFromJuan_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=gov2 pt=unigramProbabilityModelFromJuan dynamicWeight=0 queryLength=5 numOfQueries=787"
awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_0_ptChangedFromJuan_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=gov2 pt=unigramProbabilityModelFromJuan dynamicWeight=0 queryLength=6 numOfQueries=469"
awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_0_ptChangedFromJuan_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=gov2 pt=unigramProbabilityModelFromJuan dynamicWeight=0 queryLength=7 numOfQueries=212"
awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_0_ptChangedFromJuan_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=gov2 pt=unigramProbabilityModelFromJuan dynamicWeight=0 queryLength=8 numOfQueries=117"
awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_0_ptChangedFromJuan_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=gov2 pt=unigramProbabilityModelFromJuan dynamicWeight=0 queryLength=9 numOfQueries=48"
awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_0_ptChangedFromJuan_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=gov2 pt=unigramProbabilityModelFromJuan dynamicWeight=0 queryLength=10 numOfQueries=26"
awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_0_ptChangedFromJuan_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_0_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
echo

echo "********************************************************************************"
echo "dataset=gov2 pt=unigramProbabilityModelFromJuan dynamicWeight=10 queryLength=ALL numOfQueries=5000"
awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_10_ptChangedFromJuan_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_10_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=gov2 pt=unigramProbabilityModelFromJuan dynamicWeight=10 queryLength=1 numOfQueries=100"
awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_10_ptChangedFromJuan_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_10_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=gov2 pt=unigramProbabilityModelFromJuan dynamicWeight=10 queryLength=2 numOfQueries=783"
awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_10_ptChangedFromJuan_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_10_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
echo
echo "dataset=gov2 pt=unigramProbabilityModelFromJuan dynamicWeight=10 queryLength=3 numOfQueries=1204"
awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_10_ptChangedFromJuan_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_10_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=gov2 pt=unigramProbabilityModelFromJuan dynamicWeight=10 queryLength=4 numOfQueries=1205"
awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_10_ptChangedFromJuan_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_10_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=gov2 pt=unigramProbabilityModelFromJuan dynamicWeight=10 queryLength=5 numOfQueries=787"
awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_10_ptChangedFromJuan_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_10_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=gov2 pt=unigramProbabilityModelFromJuan dynamicWeight=10 queryLength=6 numOfQueries=469"
awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_10_ptChangedFromJuan_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_10_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=gov2 pt=unigramProbabilityModelFromJuan dynamicWeight=10 queryLength=7 numOfQueries=212"
awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_10_ptChangedFromJuan_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_10_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=gov2 pt=unigramProbabilityModelFromJuan dynamicWeight=10 queryLength=8 numOfQueries=117"
awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_10_ptChangedFromJuan_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_10_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=gov2 pt=unigramProbabilityModelFromJuan dynamicWeight=10 queryLength=9 numOfQueries=48"
awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_10_ptChangedFromJuan_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_10_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=gov2 pt=unigramProbabilityModelFromJuan dynamicWeight=10 queryLength=10 numOfQueries=26"
awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_10_ptChangedFromJuan_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_10_ptChangedFromJuan_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_10_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
echo


#echo "********************************************************************************"
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=0 queryLength=ALL numOfQueries=5000"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=0 queryLength=1 numOfQueries=100"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_0_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=0 queryLength=2 numOfQueries=783"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_0_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=0 queryLength=3 numOfQueries=1204"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_0_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=0 queryLength=4 numOfQueries=1205"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_0_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=0 queryLength=5 numOfQueries=787"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_0_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=0 queryLength=6 numOfQueries=469"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_0_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=0 queryLength=7 numOfQueries=212"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_0_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=0 queryLength=8 numOfQueries=117"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_0_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=0 queryLength=9 numOfQueries=48"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_0_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=0 queryLength=10 numOfQueries=26"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_0_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_0_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "********************************************************************************"
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=10 queryLength=ALL numOfQueries=5000"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_10_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=10 queryLength=1 numOfQueries=100"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_10_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=10 queryLength=2 numOfQueries=783"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_10_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=10 queryLength=3 numOfQueries=1204"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_10_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=10 queryLength=4 numOfQueries=1205"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_10_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=10 queryLength=5 numOfQueries=787"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_10_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=10 queryLength=6 numOfQueries=469"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_10_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=10 queryLength=7 numOfQueries=212"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_10_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=10 queryLength=8 numOfQueries=117"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_10_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=10 queryLength=9 numOfQueries=48"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_10_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=10 queryLength=10 numOfQueries=26"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_10_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_10_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "********************************************************************************"
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=50 queryLength=ALL numOfQueries=5000"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_50_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=50 queryLength=1 numOfQueries=100"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_50_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_1_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=50 queryLength=2 numOfQueries=783"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_50_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_2_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=50 queryLength=3 numOfQueries=1204"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_50_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_3_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=50 queryLength=4 numOfQueries=1205"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_50_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_4_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=50 queryLength=5 numOfQueries=787"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_50_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_5_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=50 queryLength=6 numOfQueries=469"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_50_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_6_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=50 queryLength=7 numOfQueries=212"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_50_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_7_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=50 queryLength=8 numOfQueries=117"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_50_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_8_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=50 queryLength=9 numOfQueries=48"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_50_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_9_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
#
#echo "dataset=gov2 pt=unigramProbabilityModelFromWei dynamicWeight=50 queryLength=10 numOfQueries=26"
#awk '{print $11,$2,$3,$10,$4,$5,$6,$8,$2/$4,$3/$5,$10/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_50_20140708) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_10_weight_50_20140708) | join - <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingsRetainedInPrunedIndex:") print counter++,$2;}' < evaluate_ALL_IN_ONE_GOV2_cutoff1000_queryLength_ALL_weight_0_ptChangedFromJuan_20140709_REBORN) | join - tempPercentage)
#echo
